home *** CD-ROM | disk | FTP | other *** search
/ Aminet 25 / Aminet 25 (1998)(GTI - Schatztruhe)[!][Jun 1998].iso / Aminet / dev / amos / AMOS0398.lzh / AMOSLIST / 000111_amos-request@svcs1.digex.net_Tue Mar 10 07:52:30 1998.msg < prev    next >
Text File  |  1998-04-01  |  3KB  |  80 lines

  1. >From amos-request@svcs1.digex.net  Tue Mar 10 07:52:29 1998
  2. Received: from svcs1.digex.net (svcs1.digex.net [204.91.197.224])
  3.     by pony-2.mail.digex.net (8.8.8/8.8.8) with ESMTP id HAA14543
  4.     for <mcox@access.digex.net>; Tue, 10 Mar 1998 07:52:29 -0500 (EST)
  5. Received: (from daemon@localhost)
  6.     by svcs1.digex.net (8.8.5/8.8.5) id GAA26702
  7.     for amos-out; Tue, 10 Mar 1998 06:10:04 -0500 (EST)
  8. Received: from pony-2.mail.digex.net (pony-2.mail.digex.net [204.91.241.6])
  9.     by svcs1.digex.net (8.8.5/8.8.5) with ESMTP id GAA26699
  10.     for <amos-list@svcs1.digex.net>; Tue, 10 Mar 1998 06:10:03 -0500 (EST)
  11. Received: from sunny.bahnhof.se (sunny.bahnhof.se [193.44.91.1])
  12.     by pony-2.mail.digex.net (8.8.8/8.8.8) with ESMTP id GAA05525
  13.     for <amos-list@access.digex.net>; Tue, 10 Mar 1998 06:10:01 -0500 (EST)
  14. Received: from pm1-25.bahnhof.se (jonasth@pm1-25.bahnhof.se [193.44.91.89])
  15.     by sunny.bahnhof.se (8.8.8/8.8.8) with SMTP id MAA09958
  16.     for <amos-list@access.digex.net>; Tue, 10 Mar 1998 12:09:50 +0100 (MET)
  17. Date: 10 Mar 98 12:07:23 +0100
  18. From: "Jonas Thorell" <jonasth@bahnhof.se>
  19. Subject: FD-extension 
  20. To: amos-list@access.digex.net
  21. Message-ID: <1750.373T1167T7273732@bahnhof.se>
  22. MIME-Version: 1.0
  23. Content-type: text/plain; charset=us-ascii
  24. Content-transfer-encoding: 7bit
  25. X-System: Amiga 1200/030@50 Mhz, 34 Meg, 1.5 Gig HD, 28k8
  26. X-Software: Aweb, Miami, Thor
  27. X-Misc-info: Who's reading this??
  28. X-Mailer: THOR 2.5a (Amiga;TCP/IP)
  29. Status: O
  30. X-Status: 
  31.  
  32. Okay, now for a (perhaps) really silly question:
  33.  
  34. Can anyone assist me in how to use the combo of the fd-extension and identify.library?
  35.  
  36. The function I'm trying to use (in vain so far) is the IdHardware function. I've never
  37. really tried to utilize system-calls in AMOS before so I'm quite stumped on
  38. how I'm supposed to do this.
  39.  
  40. The systemcall is:
  41.  
  42. identify.library/IdHardware                        identify.library/IdHardware
  43.    NAME
  44.         IdHardware - get information about the system, string (V3)
  45.  
  46.    SYNOPSIS
  47.         String = IdHardware(Type,TagList)
  48.          D0.l               D0.l   A0.l
  49.  
  50.         STRPTR IdHardware(ULONG, struct TagItem *);
  51.  
  52.         String = IdHardwareTags(Type,Tag1,...)
  53.  
  54.         STRPTR IdHardwareTags(ULONG, ULONG,...);
  55.  
  56.    FUNCTION
  57.         Gets information about the current system environment. The result
  58.         is returned as read only string. This function is fully DraCo
  59.         compatible!
  60.  
  61.         Once a information has been read, it will be cached internally, so
  62.         changes will be ignored. Use IdHardwareUpdate() to clear the cache
  63.         contents.
  64.  
  65.    INPUTS
  66.         Type          -- (ULONG) Information type. These types are known:
  67.  
  68.                 IDHW_SYSTEM     -- What system is used?
  69.                         (e. g. "Amiga 4000")
  70.  
  71.  
  72. If you take a look with the tokenlist program that's shipped with one of the
  73. craft-extensions, all parameters should be numerical. Any ideas?
  74.  
  75. ---
  76. Facts are stubborn things; and whatever may be our wishes, our inclinations, or 
  77. the dictates of our passions, they cannot alter the state of facts and evidence.
  78. ---
  79. It's easier said than done.
  80.